<template>
	<uni-popup ref="popup" type="bottom" :mask-click="false" :is-mask-click="false" border-radius="40rpx 40rpx 0 0">
		<view class="inner-box">
			<view class="title-box">
				<uni-icons class="icon-close" @tap="close" type="closeempty" size="30"></uni-icons>
				<view class="title">
					工作时间与福利待遇
				</view>
			</view>
			<view class="work-desc">
				福利待遇由招聘及用工单位提供，可能会根据实际岗位有所不同，具体跟招聘方及用供方确认。
			</view>
			<view class="work-time">
				<view class="title">
					工作时间
				</view>
				<view class="time-item">
					<text>上午09:00-下午06:00</text>
					<text>双休</text>
					<text>弹性工作</text>
				</view>
			</view>
			<view class="work-welfare">
				<view class="title">
					员工福利
				</view>
				<view class="welfare-item" v-for="(item,index) in 6" :key="index">
					<!-- <image src="../../../static/icon/search.png" mode=""></image> -->
					<text>生日福利</text>
				</view>
			</view>
		</view>
	</uni-popup>
</template>

<script>
	import {
		mapState,
		mapGetters
	} from 'vuex';
	export default {
		data() {
			return {}
		},
		methods: {
			close() {
				this.$refs.popup.close()
			},
			open() {
				this.$refs.popup.open()
			}
		}
	}
</script>

<style lang="scss" scoped>
	.inner-box {
		background: #FFFFFF;
		padding: 0 39rpx;
		border-radius: 40rpx 40rpx 0rpx 0rpx;
		overflow: hidden;
		
		.title-box {
			padding-top: 49rpx;
			display: flex;
			align-items: center;

			.icon-close {}

			.title {
				margin-left: 113rpx;
				font-weight: 800;
				font-size: 40rpx;
				color: #111111;
			}
		}

		.work-desc {
			font-weight: 500;
			font-size: 28rpx;
			color: #333333;
			line-height: 42rpx;
			margin-top: 51rpx;
		}

		.work-time {
			.title {
				font-weight: 800;
				font-size: 32rpx;
				color: #333333;
				margin-top: 42rpx;
			}

			.time-item {
				margin-top:37rpx;
				font-weight: 500;
				font-size: 28rpx;
				color: #222222;
				text {
					margin-right: 77rpx;
				}
			}
		}
		
			
		.work-welfare{
			.title {
				font-weight: 800;
				font-size: 32rpx;
				color: #333333;
				margin-top: 40rpx;
				margin-bottom: 41rpx;
			}
			.welfare-item{
				margin-bottom: 55rpx;
				image{
					width: 33rpx;
					height: 32rpx;
				}
				text{
					margin-left: 17rpx;
					font-weight: 500;
					font-size: 28rpx;
					color: #222222;
				}
			}
		}

	}
</style>